/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */
'use strict';
import React, {
    Component,
} from 'react';

import {
    AsyncStorage
} from 'react-native';

import { createStore, applyMiddleware} from 'redux';
import { Provider } from 'react-redux';
import configureStore from './store/configureStore';

import App from './containers/app';

const store = configureStore();

export default class Root extends Component {
  render() {
    return (
      <Provider store={store}>
        <App />
      </Provider>
    );
  }
}